package cn.webrx.bs.service;

import cn.webrx.bs.db.DruidUtil;
import cn.webrx.bs.entity.Address;
import org.apache.commons.dbutils.QueryRunner;

import java.util.List;

/**
 * <p>功能描述: </p>
 *
 * @author webrx
 * @version 1.0
 * @date 2020-08-21 17:45
 */
public interface AddressDao {
    public QueryRunner run = new QueryRunner(DruidUtil.getDataSource());
    public List<Address> queryById(int id);
    public List<Address> queryByParendId(int id);
}
